/*
 * bsp_led.h
 *
 *  Created on: 2025 Jul 2
 *      Author: SFLYs
 */

#ifndef XTSPINELIB_BOARD_DRIVERS_BSP_LED_H_
#define XTSPINELIB_BOARD_DRIVERS_BSP_LED_H_

#include "device.h"
#include "driverlib.h"

#define LED_OFF         0
#define LED_ON          1

#define FLeg_Status_LED  0 //用于指示CAN通信
#define RLeg_Status_LED  1 //用于指示CAN通信
#define PC_Status_LED    2 //用于指示SPI通信

void Bsp_Led_Drv_Init(uint32_t led_pin);
void Bsp_Led_Drv_Control(uint32_t led_pin,uint32_t led_status);

#endif /* XTSPINELIB_BOARD_DRIVERS_BSP_LED_H_ */
